package com.hubei.car.swaggerParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@ApiModel(value="礼券核销参数")
@Data
@Accessors(chain = true) //开启链写编程
public class MsMemberCouponQueryParam {

    @ApiModelProperty(value = "当前页", example = "1")
    @NotNull(message = "当前页不能为空")
    private Long current;

    @ApiModelProperty(value = "当前页显示多少条数据", example = "10")
    @NotNull(message = "当前页显示多少条数据不能为空")
    private Long size;
}
